package model.Sensor;
/*
import lejos.nxt.LightSensor;
import lejos.nxt.SensorPort;

public class Sensor {
	LightSensor lightSensor;
	int light;
public Sensor() {
	super();
	lightSensor = new LightSensor(SensorPort.S2);
	//lightSensor = new LightSensor(SensorPort.S2);
	//lightSensor.setFloodlight(true);
	
	
}
public int getLight() {
	this.light = lightSensor.readValue();
	return light;
}
public void setAlarm(boolean alarm){
	lightSensor.setFloodlight(alarm);
}
}
*/